package org.fund.base_service.service.impl;

import org.fund.base_service.domain.SysUser;
import org.fund.base_service.mapper.SysUserMapper;
import org.fund.base_service.service.ISysUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author Moro
 * @Date 2022/3/8 22:01
 * @title SysUserServiceImpl
 */
@Service
public class SysUserServiceImpl implements ISysUserService {
    @Autowired
    SysUserMapper sysUserMapper;
    @Override
    public SysUser selectUserByUserName(String userName) {
        return sysUserMapper.selectUserByUserName(userName);
    }

    @Override
    public void insertUser(SysUser user) {
        sysUserMapper.insertUser(user);
    }
}
